package com.freestyle.seatabusiness.storage;

import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * Created by rocklee on 2021/12/16 12:04
 */
@SpringBootApplication(scanBasePackages = {"com.freestyle"})
@MapperScan({"com.freestyle.seatabusiness.storage.**.dao"})
@EnableDiscoveryClient
@EnableTransactionManagement
@EnableDubbo
@EnableCaching
public class StorageApplication {
  public static void main(String[] args) {
    SpringApplication.run(StorageApplication.class, args);
  }
}
